﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using TT.Module.sysLogin;
using Exp.BillDLL.dao;
using Exp.BillDLL.ety;
using System.Data;

namespace Exp.BillDLL.biz
{
    public class bizInvoiceHdr
    {
        etyBaeSystemParamter basSysParam;
        daoInvoiceHdr doInvoiceHdr;

        public bizInvoiceHdr(etyBaeSystemParamter ieyBasClassDeclare)
        {
            basSysParam = ieyBasClassDeclare;
            doInvoiceHdr = new daoInvoiceHdr(basSysParam);
        }

        public IList<etyTmYmsYD> GetDtlPgBill(etyTmYmsYD inEty)
        {
            DataTable dt = doInvoiceHdr.GetDtlPgBill(inEty);
            IList<etyTmYmsYD> ilRusult = TT.Common.Converts.ConvertToIList<etyTmYmsYD>(dt);
            return ilRusult;
        }
    }
}
